package com.jml.springboot自定义starter009.config;

import com.jml.springboot自定义starter009.utils.TokenProperties;
import org.springframework.beans.factory.annotation.Autowired;

public class TokenService {
	
	@Autowired
	private TokenProperties tokenProperties;
	
	public String getToken() {
		System.out.println("模拟生成token");
		return tokenProperties.getTokenRedisHost() + "," + tokenProperties.getTokenRedisPwd();
	}
}
